package com.itheima.d14_extends_constructor;

public class People {
    private  String name;
    public People(String name){
        this.name=name;
        System.out.println("父类构造器");
    }
    public People(){

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
